.class public Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;
.super Ljava/lang/Object;
.source "NotificationControllerSettings.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "Builder"
.end annotation


# instance fields
.field protected mBriefVibrationPattern:[J

.field protected mControllerHandlerThreadName:Ljava/lang/String;

.field protected mDeliverableNotificationLimit:I

.field protected mDeliveryLimitComboFlag:[I

.field protected mFallbackNotificationOpenIntent:Landroid/content/Intent;

.field protected mLimitNotificationModel:Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;

.field protected mNotificationStackingDelay:I

.field protected mRegularVibrationPattern:[J

.field protected shouldCancelActiveNotificationsOnLimitReached:Z

.field protected shouldShowDeliveryLimitNotification:Z


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 396
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 398
    invoke-direct {p0}, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->setDefaults()V

    return-void
.end method

.method private setDefaults()V
    .locals 1

    const-string v0, "notificationControllerHandlerThread"

    .line 404
    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mControllerHandlerThreadName:Ljava/lang/String;

    const/4 v0, 0x0

    .line 405
    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mFallbackNotificationOpenIntent:Landroid/content/Intent;

    .line 406
    new-instance v0, Llt/farmis/libraries/notificationcontroller/data/models/LimitNotificationModel;

    invoke-direct {v0}, Llt/farmis/libraries/notificationcontroller/data/models/LimitNotificationModel;-><init>()V

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mLimitNotificationModel:Llt/farmis/libraries/notificationcontroller/data/models/BaseLimitNotificationModel;

    .line 407
    sget-object v0, Llt/farmis/libraries/notificationcontroller/NotificationConstants;->FLAG_COMBO_DELIVERY_LIMIT:[I

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mDeliveryLimitComboFlag:[I

    const/16 v0, 0x32

    .line 408
    iput v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mDeliverableNotificationLimit:I

    const/4 v0, 0x1

    .line 409
    iput-boolean v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->shouldShowDeliveryLimitNotification:Z

    .line 410
    iput-boolean v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->shouldCancelActiveNotificationsOnLimitReached:Z

    const/16 v0, 0x2710

    .line 411
    iput v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mNotificationStackingDelay:I

    .line 412
    sget-object v0, Llt/farmis/libraries/notificationcontroller/NotificationConstants;->DEFAULT_VIBRATION_PATTERN:[J

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mRegularVibrationPattern:[J

    .line 413
    sget-object v0, Llt/farmis/libraries/notificationcontroller/NotificationConstants;->DEFAULT_BRIEF_VIBRATION_PATTERN:[J

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mBriefVibrationPattern:[J

    return-void
.end method


# virtual methods
.method public build()Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings;
    .locals 1

    .line 425
    new-instance v0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings;

    invoke-direct {v0, p0}, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings;-><init>(Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;)V

    return-object v0
.end method

.method public setDeliveryLimitComboFlag([I)Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;
    .locals 0

    .line 512
    iput-object p1, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mDeliveryLimitComboFlag:[I

    return-object p0
.end method

.method public varargs setDeliveryLimitFlags([I)Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;
    .locals 0

    .line 537
    invoke-virtual {p0, p1}, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->setDeliveryLimitComboFlag([I)Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;

    return-object p0
.end method

.method public setFallbackNotificationOpenIntent(Landroid/content/Intent;)Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;
    .locals 0

    .line 459
    iput-object p1, p0, Llt/farmis/libraries/notificationcontroller/NotificationControllerSettings$Builder;->mFallbackNotificationOpenIntent:Landroid/content/Intent;

    return-object p0
.end method
